<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m" id="form-snpub-edit" >
		<input id="id" name="id"th:value="${snpub.id}"  type="hidden">
			<div class="form-group">
			<label class="col-sm-3 control-label">是否指定签到对象0指定1不指定：</label>
			<div class="col-sm-8">
				<input id="hasobj" name="hasobj"th:value="${snpub.hasobj}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">签到对象：</label>
			<div class="col-sm-8">
				<input id="snobj" name="snobj"th:value="${snpub.snobj}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">签到形式：</label>
			<div class="col-sm-8">
				<input id="sntype" name="sntype"th:value="${snpub.sntype}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">是否手动结束0指定时间1手动：</label>
			<div class="col-sm-8">
				<input id="hasendtime" name="hasendtime"th:value="${snpub.hasendtime}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">签到开始时间：</label>
			<div class="col-sm-8">
				<input id="snstarttime"  name="snstarttime"th:value="${snpub.snstarttime}" class="form-control time-input" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">签到结束时间：</label>
			<div class="col-sm-8">
				<input id="snendtime"  name="snendtime"th:value="${snpub.snendtime}" class="form-control time-input" type="text">
			</div>
		</div>
		</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
	var prefix = ctx + "signin/snpub";
	$("#form-snpub-edit").validate({
		onkeyup: false,
		rules:{
			xxxx:{
				required:true,
			},
		}
	});

	function submitHandler() {
		if ($.validate.form()) {
			$.operate.save(prefix + "/editDo", $('#form-snpub-edit').serialize());
		}
	}
</script>
</body>
</html>
